﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using OrderManager.Orders;

namespace OrderManager.ViewModels
{
    class OrderManagerViewModel : DependencyObject
    {
        public static readonly DependencyProperty CheckedProperty = DependencyProperty.Register("Checked", typeof(bool), typeof(OrderManagerViewModel));

        public bool Checked { get { return (bool)this.GetValue(CheckedProperty); } set { this.SetValue(CheckedProperty, value); } }

        public OrderManagerBase OrderManager { get; private set; }

        public OrderManagerViewModel(OrderManagerBase orderManager)
        {
            this.Checked = true;
            this.OrderManager = orderManager;
        }
    }
}
